<!-- category-feature -->
<?php 
	$key = $this->key;
	$data = $this->data;
	$modelArticle = new Model_Article_Article();
	$modelArticleCat = new Model_ArticleCat_ArticleCat();
	$model_product_category = new Model_ProductCat_ProductCat();
	$model_article = new Model_Article_Article();
	$dataCat = $model_product_category->getAllIsActive();
?>
		<div class="main product_page">
    	<div class="container">
        	<div class="news">
            	<div class="topnews">
                	<h3>Tìm kiếm với từ khóa "<?php echo $key;?>" </h3>
                </div>
            	<ul id="news_items">
            	<?php if(count($data)==0)
            		echo '<li><h4>Không tìm thấy kết quả.</h4></li>';
            	?>
            	<?php
            	foreach($data as $item)
            	{
            		?>
					<li>
					<h4><a href="<?php echo $this->baseUrl().$model_article->getLinkById($item['id']);?>"><?php echo $item['name'];?></a></h4>
					<img src="<?php echo $this->baseUrl()?>/public/images/articles/<?php echo $item['image'];?>" alt="" />
					<p><?php echo $item['description'];?></p>
					</li>

				<?php
            	}
            	?>
          </ul>
            </div><!-- end product-->
            
        </div>
        <div class="clear"></div>
       	<?php $this->LoadBlock('BottomMenu');?>           	
    </div><!-- end main-->